{:W('Header')}
<div class="block">
        <div class="flowBox">
            <h2 style="background-color: #a3d7ed;padding:5px 10px"><span >商品列表</span></h2>
            <table width="100%">
                <th class="select-all J_SelectAll" bgcolor="#ffffff" style="text-align:left; margin-left:5px;"></th>
                <th bgcolor="#ffffff" style="width:40%; text-align:center">商品名称</th>
                <th bgcolor="#ffffff" style="text-align: center;width:18%">单价(元)</th>
                <th bgcolor="#ffffff" style="text-align: center;width:18%">数量</th>
                <th bgcolor="#ffffff" style="text-align: center;width:18%">金额(元)</th>
            </table>
            <table width="100%" style="border:#ccc solid 1px;text-align:center">
                <foreach name="data.order_goods" item="v">
                    <tr id="tr_goods_{$v.goods_id}" class="cartList" style="border:#f00 solid 1px;">
                        <td style="width:5%">
                            <input name="goodsArr[{$v.goods_id}]" value="{$v.num}" type="hidden">
                        </td>
                        <td bgcolor="#ffffff" class="nstep_pbox" style="width:35%">
                            <p class="f_l"><a href="{:U(GROUP_NAME.'/Goods/index',array('id'=>$v['goods_id']))}"
                                              target="_blank"><img src="{:U('/'.$v['goods']['img'])}" border="0"
                                                                   title="{$v['goods']['name']}" width="80" height="80"/></a>
                            </p>
                            <p class="nstep_name" style="text-align: left;width: 186px;height: 65px;overflow: hidden;margin: 30px 0 0 0px;text-overflow: ellipsis;font-size: 12px;float: left;">
                                <a href="{:U(GROUP_NAME.'/Goods/index',array('id'=>$v['goods_id']))}"
                                   target="_blank" class="f6">{$v['goods']['name']}</a>
                            </p>
                        </td>
                        <td bgcolor="#ffffff" style="width:15%">
                            <p class="price-line">
                                <em class="price-now" style="text-align: center">￥{$v.shop_price}元</em>
                            </p>
                        </td>
                        <td bgcolor="#ffffff" style="width:15%;text-align: center">
                            {$v.num}
                        </td>
                        <td style="width:15%" bgcolor="#ffffff" id="goods_subtotal_{$v.goods_id}" class="chkprice ">
                            ￥<em name="price_{$v.goods_id}">{$v['goods']['market_price']*$v.num}</em>元
                        </td>
                    </tr>
                </foreach>
            </table>
            <table width="100%">
                <tr>
                    <td bgcolor="#ffffff" id="total_desc" class="nstep1_count">
                        <div class="float-bar-wrapper">
                            <div  style="font-size: 20px; float: right;padding: 8px;">
                                购物金额总计 ￥<span id='sum'>{$data.sum}</span>元
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
            <!-- <input type="hidden" name="step" value="update_cart" />-->
        </div>
        <br>
        <div class="flowBox">
            <h6><span>订单信息</span></h6>
            <table  cellpadding="5" cellspacing="1" width="99%" style="text-align: right;font-size: 16px;padding-left: 20px">
                <tr>
                    <td width="50%">收货人姓名:</td>
                    <td width="50%" style="text-align: left">{$data.consignee_name}</td>
                </tr>
                <tr>
                    <td>联系电话:</td>
                    <td style="text-align: left">{$data.telephone}</td>
                </tr>
                <tr>
                    <if condition="$data.store ">
                        <td>门店地址:</td>
                        <td style="text-align: left">{$data.store}</td>
                    <else/>
                        <td>详细地址:</td>
                        <td style="text-align: left">{$data.consignee_address}</td>
                    </if>
                </tr>
                <tr>
                    <td>备注:</td>
                    <td style="text-align: left">{$data.remark}</td>
                </tr>
                <tr>
                    <td>支付方式：</td>
                    <td style="text-align: left">{$data.payment}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$data.pay_status}</td>
                </tr>
                <tr>
                    <td>配送方式：</td>
                    <td style="text-align: left">{$data.shipping}</td>
                </tr>
                <tr>
                    <td>订单状态：</td>
                    <td style="text-align: left">{$data.order_status}</td>
                </tr>
                <tr>
                    <td align="right"> 总支付: </td>
                    <td style="text-align: left"><font class="f4_b">￥{$data.total}元</font></td>
                </tr>
            </table>
        </div>
</div>
{:W('Footer')}